package com.quectel.core.module.forum.dto.mongo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/5/8 15:52
 * @description 用户发帖相关数量统计
 */
@Data
@Schema
public class ForumPersonCountDto implements Serializable {
    /**
     * id
     */
    @Schema(description = "id")
    private Long id;

    /**
     * 租户Id
     */
    @Schema(description = "租户Id")
    private Long tenantId;

    /**
     * 用户Id
     */
    @Schema(description = "用户Id")
    private Long mobileUserId;

    /**
     * 发帖数量
     */
    @Schema(description = "累计发帖数量")
    private Integer postCount = 0;

    /**
     * 评论数量
     */
    @Schema(description = "累计评论数量")
    private Integer commentCount = 0;

    /**
     * 点赞数量
     */
    @Schema(description = "累计点赞数量")
    private Integer likeCount = 0;

    /**
     * 分享数量
     */
    @Schema(description = "累计分享数量")
    private Integer shareCount = 0;

    /************非数据库字段 start ************/

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "昵称")
    private String name;

    @Schema(description = "头像")
    private String headImg;
    /************非数据库字段 end   ************/

}
